﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Benefit.Models.Sys;
namespace Benefit.Interface.Sys
{
    public interface IOperatorInfo
    {

        /// <summary>
        /// 增加一个操作员信息，每个操作员只有一条操作员信息
        /// </summary>
        void AddOperatorInfo(int operatorId);
        /// <summary>
        /// 删除指定日期的结算记录时把交易天数减一
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="db"></param>
        void UnsetDayWorking(int tradeHistoryId);
        void OperatorWorking(int tradeHistoryId);

        OperatorInfo GetOperatorInfo(int operatorid);

        List<OperatorInfo> GetList();
    }
}